<?php
if (isset($_GET['menu'])) {
    $_SESSION['menu'] = $_GET['menu'];
}
$menu = "";
if (isset($_SESSION['menu'])) {
    $menu = $_SESSION['menu'];
}
?>

<table width="80%" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
    <tr>
        <td width="50" align="left">
            <a href="musicList.php?menu=music"><b><font color="#CCCCCC">返回</font></b></a>
        </td>
        <td width="100" <?php if (strpos($menu, 'tongji_yonghu') !== false) { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="tongji_yonghu_list.php?menu=tongji_yonghu_list"><?php if (strpos($menu, 'tongji_yonghu') !== false) { ?> <b><font color="#CCCCCC">用户数据</font></b> <?php } else { ?> 用户数据 <?php } ?></a>
        </td>
        <td width="100" <?php if (strpos($menu, 'tongji_duizhan') !== false) { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="tongji_duizhan_titlePacket.php?menu=tongji_duizhan_titlePacket"><?php if (strpos($menu, 'tongji_duizhan') !== false) { ?> <b><font color="#CCCCCC">对战数据</font></b> <?php } else { ?> 对战数据 <?php } ?></a>
        </td>
        <td width="100" <?php if (strpos($menu, 'tongji_jishi') !== false) { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="tongji_jishi_all.php?menu=tongji_jishi_all"><?php if (strpos($menu, 'tongji_jishi') !== false) { ?> <b><font color="#CCCCCC">即时数据</font></b> <?php } else { ?> 即时数据 <?php } ?></a>
        </td>
        <td width="100" <?php if (strpos($menu, 'tongji_baobiao') !== false) { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="tongji_baobiao_renshu.php?menu=tongji_baobiao_renshu"><?php if (strpos($menu, 'tongji_baobiao') !== false) { ?> <b><font color="#CCCCCC">报表</font></b> <?php } else { ?> 报表 <?php } ?></a>
        </td>
        <td width="100" <?php if ($menu == 'tongji_paihangbang') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="tongji_paihangbang.php?menu=tongji_paihangbang"><?php if ($menu == 'tongji_paihangbang') { ?> <b><font color="#CCCCCC">排行榜</font></b> <?php } else { ?> 排行榜 <?php } ?></a>
        </td>        
    </tr>
</table>
<?php if (strpos($menu, "tongji_yonghu") !== false) { ?>
    <table width = "80%" border = "0" align = "center" cellpadding = "2" cellspacing = "2" bordercolor = "#FFFFFF" bgcolor = "#FFFFFF">
        <tr>
            <td width = "50" align = "left">
            </td>
            <td width = "100" <?php if ($menu == 'tongji_yonghu_list') {
        ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_list.php?menu=tongji_yonghu_list"><?php if ($menu == 'tongji_yonghu_list') { ?> <b><font color="#CCCCCC">列表</font></b> <?php } else { ?> 列表 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_titlePacket') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_titlePacket.php?menu=tongji_yonghu_titlePacket"><?php if ($menu == 'tongji_yonghu_titlePacket') { ?> <b><font color="#CCCCCC">题包</font></b> <?php } else { ?> 题包 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_question') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_question.php?menu=tongji_yonghu_question"><?php if ($menu == 'tongji_yonghu_question') { ?> <b><font color="#CCCCCC">答题</font></b> <?php } else { ?> 答题 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_result') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_result.php?menu=tongji_yonghu_result"><?php if ($menu == 'tongji_yonghu_result') { ?> <b><font color="#CCCCCC">成绩</font></b> <?php } else { ?> 成绩 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_achieve') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_achieve.php?menu=tongji_yonghu_achieve"><?php if ($menu == 'tongji_yonghu_achieve') { ?> <b><font color="#CCCCCC">成就</font></b> <?php } else { ?> 成就 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_gold') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_gold.php?menu=tongji_yonghu_gold"><?php if ($menu == 'tongji_yonghu_gold') { ?> <b><font color="#CCCCCC">金币</font></b> <?php } else { ?> 金币 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_start') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_start.php?menu=tongji_yonghu_start"><?php if ($menu == 'tongji_yonghu_start') { ?> <b><font color="#CCCCCC">启动</font></b> <?php } else { ?> 启动 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_yonghu_cash') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_yonghu_cash.php?menu=tongji_yonghu_cash"><?php if ($menu == 'tongji_yonghu_cash') { ?> <b><font color="#CCCCCC">现金</font></b> <?php } else { ?> 现金 <?php } ?></a>
            </td>
        </tr>
    </table>
<?php } ?>
<?php if (strpos($menu, "tongji_duizhan") !== false) { ?>
    <table width="80%" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
        <tr>
            <td width="50" align="left">&nbsp;               
            </td>
            <td width="100" <?php if ($menu == 'tongji_duizhan_titlePacket') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_duizhan_titlePacket.php?menu=tongji_duizhan_titlePacket"><?php if ($menu == 'tongji_duizhan_titlePacket') { ?> <b><font color="#CCCCCC">按题包</font></b> <?php } else { ?> 按题包 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_duizhan_system') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_duizhan_system.php?menu=tongji_duizhan_system"><?php if ($menu == 'tongji_duizhan_system') { ?> <b><font color="#CCCCCC">按系统</font></b> <?php } else { ?> 按系统 <?php } ?></a>
            </td>
        </tr>
    </table>
<?php } ?>
<?php if (strpos($menu, "tongji_jishi") !== false) { ?>
    <table width = "80%" border = "0" align = "center" cellpadding = "2" cellspacing = "2" bordercolor = "#FFFFFF" bgcolor = "#FFFFFF">
        <tr>
            <td width = "50" align = "left">
            </td>
            <td width = "100" <?php if ($menu == 'tongji_jishi_all') {
        ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_all.php?menu=tongji_jishi_all"><?php if ($menu == 'tongji_jishi_all') { ?> <b><font color="#CCCCCC">列表</font></b> <?php } else { ?> 列表 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_jishi_titlePacket') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_titlePacket.php?menu=tongji_jishi_titlePacket"><?php if ($menu == 'tongji_jishi_titlePacket') { ?> <b><font color="#CCCCCC">题包</font></b> <?php } else { ?> 题包 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_jishi_question') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_question.php?menu=tongji_jishi_question"><?php if ($menu == 'tongji_jishi_question') { ?> <b><font color="#CCCCCC">答题</font></b> <?php } else { ?> 答题 <?php } ?></a>
            </td>            
            <td width="100" <?php if ($menu == 'tongji_jishi_achieve') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_achieve.php?menu=tongji_jishi_achieve"><?php if ($menu == 'tongji_jishi_achieve') { ?> <b><font color="#CCCCCC">成就</font></b> <?php } else { ?> 成就 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_jishi_gold') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_gold.php?menu=tongji_jishi_gold"><?php if ($menu == 'tongji_jishi_gold') { ?> <b><font color="#CCCCCC">金币</font></b> <?php } else { ?> 金币 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_jishi_start') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_start.php?menu=tongji_jishi_start"><?php if ($menu == 'tongji_jishi_start') { ?> <b><font color="#CCCCCC">启动</font></b> <?php } else { ?> 启动 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_jishi_cash') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_jishi_cash.php?menu=tongji_jishi_cash"><?php if ($menu == 'tongji_jishi_cash') { ?> <b><font color="#CCCCCC">现金</font></b> <?php } else { ?> 现金 <?php } ?></a>
            </td>
        </tr>
    </table>
<?php } ?>
<?php if (strpos($menu, "tongji_baobiao") !== false) { ?>
    <table width = "80%" border = "0" align = "center" cellpadding = "2" cellspacing = "2" bordercolor = "#FFFFFF" bgcolor = "#FFFFFF">
        <tr>
            <td width = "50" align = "left">
            </td>
            <td width = "100" <?php if ($menu == 'tongji_baobiao_renshu') {
        ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_renshu.php?menu=tongji_baobiao_renshu"><?php if ($menu == 'tongji_baobiao_renshu') { ?> <b><font color="#CCCCCC">人数</font></b> <?php } else { ?> 人数 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_baobiao_start') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_start.php?menu=tongji_baobiao_start"><?php if ($menu == 'tongji_baobiao_start') { ?> <b><font color="#CCCCCC">启动</font></b> <?php } else { ?> 启动 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_baobiao_question') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_question.php?menu=tongji_baobiao_question"><?php if ($menu == 'tongji_baobiao_question') { ?> <b><font color="#CCCCCC">答题</font></b> <?php } else { ?> 答题 <?php } ?></a>
            </td>            
            <td width="100" <?php if ($menu == 'tongji_baobiao_gold') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_gold.php?menu=tongji_baobiao_gold"><?php if ($menu == 'tongji_baobiao_gold') { ?> <b><font color="#CCCCCC">金币</font></b> <?php } else { ?> 金币 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_baobiao_cash') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_cash.php?menu=tongji_baobiao_cash"><?php if ($menu == 'tongji_baobiao_cash') { ?> <b><font color="#CCCCCC">现金</font></b> <?php } else { ?> 现金 <?php } ?></a>
            </td>
            <td width="100" <?php if ($menu == 'tongji_baobiao_titlePacket') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
                <a href="tongji_baobiao_titlePacket.php?menu=tongji_baobiao_titlePacket"><?php if ($menu == 'tongji_baobiao_titlePacket') { ?> <b><font color="#CCCCCC">题包</font></b> <?php } else { ?> 题包 <?php } ?></a>
            </td>            
        </tr>
    </table>
<?php } ?>